Skip to content

feat - Display section reset on clear button hit#322

Merged
cliffhall merged 2 commits into
modelcontextprotocol:mainfrom
Kavyapriya-1804:feat-display-section-cleared-on-clear-button-hit
Apr 16, 2025
Merged

feat - Display section reset on clear button hit#322
cliffhall merged 2 commits into
modelcontextprotocol:mainfrom
Kavyapriya-1804:feat-display-section-cleared-on-clear-button-hit

Conversation

@Kavyapriya-1804
Copy link
Copy Markdown
Contributor

This PR closes #301

Motivation and Context

There is no way we can get the right sections cleared out once a selection has been made on the Resources and Prompts tabs. It takes a inspector restart to get them back to initial state.
This PR resets the display section on the right side when Clear button is hit.
Attaching the below video for reference of what was fixed in this PR.

FR-displaySection-refresh.mov

How Has This Been Tested?

  • Running test cases were successful.
  • Tested if the change has any negative impact on the respective Resources and Prompts tab and tested flows in other tabs as well.

Breaking Changes

There are no breaking changes in this PR

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@Kavyapriya-1804 Kavyapriya-1804 marked this pull request as draft April 16, 2025 18:46
@Kavyapriya-1804 Kavyapriya-1804 marked this pull request as ready for review April 16, 2025 18:59
Copy link
Copy Markdown
Member

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build, test, lint, manual testing all looking good. Thanks @Kavyapriya-1804!

@cliffhall cliffhall merged commit 880cb4a into modelcontextprotocol:main Apr 16, 2025
2 checks passed
IgnacioC44 referenced this pull request in MCPJam/inspector Jun 21, 2025
…ared-on-clear-button-hit

feat - Display section reset on clear button hit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: Clear out the right section on Resources and Prompts tabs

3 participants